package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;
import java.time.LocalTime;
import java.lang.Object;

/**
 * 律师服务时间表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "lawyer_schedule", dataSource = "caseDS")
public class LawyerScheduleEntity {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 关联律师ID
     */
    @Column(value = "lawyer_id")
    private Long lawyerId;

    @Column(value = "day_of_week")
    private Object dayOfWeek;

    /**
     * 开始时间
     */
    @Column(value = "start_time")
    private LocalTime startTime;

    /**
     * 结束时间
     */
    @Column(value = "end_time")
    private LocalTime endTime;

    @Column(value = "create_time")
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLawyerId() {
        return lawyerId;
    }

    public void setLawyerId(Long lawyerId) {
        this.lawyerId = lawyerId;
    }

    public Object getDayOfWeek() {
        return dayOfWeek;
    }

    public void setDayOfWeek(Object dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }

    public LocalTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalTime startTime) {
        this.startTime = startTime;
    }

    public LocalTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalTime endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
